#!/usr/bin/env bash
sudo apt-get install rabbitmq-server
sudo rabbitmqctl add_user <RABBIT_USER> <RABBIT_PASSWORD>
sudo rabbitmqctl add_vhost <RABBIT_VHOST>
sudo rabbitmqctl set_permissions -p <RABBIT_VHOST> <RABBIT_USER> ".*" ".*" ".*"